package com.pm.business.mapper;

import java.util.List;
import com.pm.business.domain.CompeteEnterpriseBadBehavior;

/**
 * 不良行为Mapper接口
 * 
 * @author zxl
 * @date 2022-05-07
 */
public interface CompeteEnterpriseBadBehaviorMapper 
{
    /**
     * 查询不良行为
     * 
     * @param behaviorId 不良行为主键
     * @return 不良行为
     */
    public CompeteEnterpriseBadBehavior selectCompeteEnterpriseBadBehaviorByBehaviorId(Long behaviorId);

    /**
     * 查询不良行为列表
     * 
     * @param competeEnterpriseBadBehavior 不良行为
     * @return 不良行为集合
     */
    public List<CompeteEnterpriseBadBehavior> selectCompeteEnterpriseBadBehaviorList(CompeteEnterpriseBadBehavior competeEnterpriseBadBehavior);

    /**
     * 新增不良行为
     * 
     * @param competeEnterpriseBadBehavior 不良行为
     * @return 结果
     */
    public int insertCompeteEnterpriseBadBehavior(CompeteEnterpriseBadBehavior competeEnterpriseBadBehavior);

    /**
     * 修改不良行为
     * 
     * @param competeEnterpriseBadBehavior 不良行为
     * @return 结果
     */
    public int updateCompeteEnterpriseBadBehavior(CompeteEnterpriseBadBehavior competeEnterpriseBadBehavior);

    /**
     * 删除不良行为
     * 
     * @param behaviorId 不良行为主键
     * @return 结果
     */
    public int deleteCompeteEnterpriseBadBehaviorByBehaviorId(Long behaviorId);

    /**
     * 批量删除不良行为
     * 
     * @param behaviorIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCompeteEnterpriseBadBehaviorByBehaviorIds(Long[] behaviorIds);
}
